package jsyf.oa.dao.forms;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import jsyf.oa.entity.forms.FormsFieldsEntity;
import jsyf.oa.idao.BaseDao;
import jsyf.oa.ientity.IBaseEntity;
import org.springframework.stereotype.Repository;

/**
 * Created by 92852 on 2018/6/25.
 */
@Repository
public class FormsFieldsDao extends BaseDao {
    public FormsFieldsDao() {
        this.iBaseEntity = new FormsFieldsEntity();
    }
    @Override
    public IBaseEntity convertJson2Entity(JSONObject json) {
        return JSON.toJavaObject(json, FormsFieldsEntity.class);
    }







}
